org.eclipse.vtp.desktop.editors.core.elements
Class RecordInformationProvider

java.lang.Object
  extended by org.eclipse.vtp.desktop.editors.core.elements.PrimitiveInformationProvider
      extended by org.eclipse.vtp.desktop.editors.core.elements.RecordInformationProvider

public class RecordInformationProvider
extends PrimitiveInformationProvider

Version:
1.0
Author:
Trip

Constructor Summary
RecordInformationProvider(PrimitiveElement element)
           
 
Method Summary
 boolean acceptConnector(Element origin)
           
 void addIncomingConnector(Connector connector)
           
 void buildObjectFields(ObjectDefinition def)
           
 ConnectorRecord getConnectorRecord(java.lang.String recordName)
           
 java.util.List getConnectorRecords()
           
 java.util.List getConnectorRecords(int type)
           
 java.util.List getOutgoingVariables(java.lang.String exitPoint, java.util.Map visited)
           
 java.util.List getPropertiesPanels()
           
 java.lang.String getVariableName()
           
 boolean hasConnectors()
           
 boolean isObject(java.lang.String typeName)
           
 void readConfiguration(org.w3c.dom.Element configuration)
           
 void removeIncomingConnector(Connector connector)
           
 void setVariableName(java.lang.String varName)
           
 void writeConfiguration(org.w3c.dom.Element configuration)
           
 
Methods inherited from class org.eclipse.vtp.desktop.editors.core.elements.PrimitiveInformationProvider
canDelete, getActions, getElement, hasPathToStart, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordInformationProvider

public RecordInformationProvider(PrimitiveElement element)
Parameters:
name -
Method Detail

addIncomingConnector

public void addIncomingConnector(Connector connector)

removeIncomingConnector

public void removeIncomingConnector(Connector connector)

getConnectorRecord

public ConnectorRecord getConnectorRecord(java.lang.String recordName)
Specified by:
getConnectorRecord in class PrimitiveInformationProvider

getConnectorRecords

public java.util.List getConnectorRecords()
Specified by:
getConnectorRecords in class PrimitiveInformationProvider

getConnectorRecords

public java.util.List getConnectorRecords(int type)
Specified by:
getConnectorRecords in class PrimitiveInformationProvider

getVariableName

public java.lang.String getVariableName()

setVariableName

public void setVariableName(java.lang.String varName)

readConfiguration

public void readConfiguration(org.w3c.dom.Element configuration)
Specified by:
readConfiguration in class PrimitiveInformationProvider

writeConfiguration

public void writeConfiguration(org.w3c.dom.Element configuration)
Specified by:
writeConfiguration in class PrimitiveInformationProvider

getPropertiesPanels

public java.util.List getPropertiesPanels()
Specified by:
getPropertiesPanels in class PrimitiveInformationProvider

acceptConnector

public boolean acceptConnector(Element origin)
Specified by:
acceptConnector in class PrimitiveInformationProvider

getOutgoingVariables

public java.util.List getOutgoingVariables(java.lang.String exitPoint,
                                           java.util.Map visited)
Overrides:
getOutgoingVariables in class PrimitiveInformationProvider

buildObjectFields

public void buildObjectFields(ObjectDefinition def)

isObject

public boolean isObject(java.lang.String typeName)

hasConnectors

public boolean hasConnectors()
Specified by:
hasConnectors in class PrimitiveInformationProvider